home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0793july.archive
/
000026_crash!UNCA.EDU!JVANRIPER_Mon, 12 Jul 93 21:49:54 PST.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-26
|
3KB
Received: by bkhouse.cts.com (V1.16/Amiga)
id AA00000; Mon, 12 Jul 93 21:49:54 PST
Received: from uncavx by crash.cts.com with smtp
(Smail3.1.28.1 #15) id m0oFb2d-0000mmC; Mon, 12 Jul 93 20:28 PDT
Received: from UNCA.EDU by UNCA.EDU (PMDF V4.2-11 #3902) id
<01H0H0HVLITC935A2V@UNCA.EDU>; Mon, 12 Jul 1993 23:27:34 EDT
Date: Mon, 12 Jul 1993 23:27:34 -0400 (EDT)
Message-id: <01H0H0HVMBR6935A2V@UNCA.EDU>
Organization: University of North Carolina at Asheville
X-VMS-To: IN%"amigae@bkhouse.cts.com"
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
From: "Joseph E. Van_Riper III" <JVANRIPER@UNCA.EDU>
To: amigae@bkhouse.cts.com
Subject: New To List (first post)
Welp.. here I am. Finally found a forum for the discussion of AmigaE,
a language I'm pretty impressed with, overall.
I've been working on a fortune cookie program, perhaps the most
complex, flexible version of this kind of program ever written, and found one
very annoying problem that I'd like to solve, but I haven't figured out a
solution for yet (perhaps because I missed something in the docs or something).
Most C language compilors open a filestream called 'stderr' that lets
you output text to a stream that won't get redirected into a file. I would
find this very useful for some of the work I'm doing, but I haven't figured out
precisely what I'm supposed to do to do this. As a work-around, I've instead
given the user the option of having the text go to a specified file, or to
stdout.
Can anyone suggest a way I could open a stderr port to the same
"window" stdout is hooked to, without having to go through too much convoluted
programming nonsense?
Also, I've got something of a complaint that perhaps you guys have
already found a work around for that is better than mine... I would like to
have a string that is CONST (that is, say:
CONST VERSION = '$VER: Myprog 234098.002 (12.7.93/23:17:34/E 2.1b) An ' +
'Example Program'
which could be used anywhere in my program).
Currently, this doesn't appear to work. Perhaps I'm doing something wrongly..
or perhaps there is no adequate work-around for this (short of DEFining a
global variable and setting it in PROC main() or something).
One thing very positive about Amiga E, however, is the way it practically
forces you to write code using the Amiga's many functions. Talk about
following proper procedures... Very Very Nice. My programs have never been
more Amiga-like than they are now!
- Trey